import useUserStore from './modules/user'
import useAppStore from './modules/app'
import useAddressStore from './modules/address'
import useHome from './modules/home'
import useSearch from './modules/search'
import useDetail from './modules/detail'
import useCart from './modules/cart'
import useOrder from './modules/order'

export default function useStore() {
  return {
    userStore: useUserStore(),
    appStore: useAppStore(),
    addressStore: useAddressStore(),
    homeStore: useHome(),
    searchStore: useSearch(),
    detailStore: useDetail(),
    cartStore: useCart(),
    orderStore: useOrder()
  }
}
